<%@ page import="org.springframework.web.servlet.support.RequestContextUtils" %>
<html>
  <head>
    <title><g:message code="welcome.title" default="Welcome to Goal98 Team Manager"/></title>
    <meta name="layout" content="main"/>

    <resource:map key="ABQIAAAACcCM2DMxzv4n939Jgm34YxQ3LG4vAN-CueICCIjDKaxRKN2F1xQ1y-xVQPy1hfM8M8zYmFIZ-jUyxw"/>

    <style type="text/css">
    .login_label, .login_input, .login_error {
      padding: 10px;
      color: #000;
      text-align: left;
      float: left;
      width: 100px;
      font-size: 20px;
      color: #64355A;
    }

    .login_input {
      width: 200px;
    }

    .login_error {
      width: 250px;
      color: #F00;
    }

    .login_input input {
      width: 100%;
    }

    #login {
      background: #123;
    }
    </style>

  </head>
  <body>
    <div>
      <div style="margin-left:10px">
        <h1><g:message code="welcome.title" default="Welcome to Goal98 Team Manager"/></h1>
      </div>
      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>

      <%
          def locale = RequestContextUtils.getLocale(request)
      %>

      <richui:map lat="31.194668" lng="121.616284"
              zoomLevel="16" directionsLocale="${locale}"/>

    </div>

  </body>
</html>